﻿using Architecture.Domain.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domain
{
    /// <summary>
    /// 溯源表
    /// </summary>
    public class Traceability: Approval
    {
        [Key]
        public int TraceabilityId { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public int GoodId { get; set; }
        /// <summary>
        /// 生产批号
        /// </summary>
        public string? TraceabilityBatch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int TraceabilityDay { get; set; }
        /// <summary>
        /// 许可证号
        /// </summary>
        public string? TraceabilityNumber { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? TraceabilityLicense { get; set; }
        /// <summary>
        /// 完善度
        /// </summary>
        public string? TraceabilityEnvelop { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string? TraceabilityIamnges { get; set; }
    }
}
